<?php
namespace Common\Model;
use Think\Model;
/**
 * 新增日志
 */
class LogModel extends Model {
	public function addlog($data){		
		$data['ctime'] =time();     //创建时间
		$data['status'] =1;
		$data['log_ip']=get_client_ip();
		$data['log_uid']=$_SESSION['CT_Admin_']['user_auth']['uid'];
		$res=$this->add($data);
	}
}